<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of MenuService
 *
 * @author ingeni
 */
class MenuService {
    //put your code here
    
    public function display(ContextExecution $p_contexte){
        $userid = $p_contexte->getUser()->userId;
        $listComptes = new ListObject();
        $listComptes->name='ListeComptes';
        $listComptes->request('Comptes', "userId=$userid");
        $p_contexte->addDataBlockRow($listComptes);
    }
    
}

?>
